import axios from 'axios';
import requset from './request';
//三级联动接口
//export const reqCategory = ()=> requset({url:'/product/getBaseCategoryList',method:'get'});
//获取员工列表
// page 当前页码 limit 每页显示的条数 
export const reqEmployee = () => requset({url:`/queryAll`,method:'get'});
//export const reqEmployee = () => requset({url:`/queryAll`,method:'post'});





  // updateEmployee发送请求时传输数据
export const updateEmployee = (data) => requset({url:'/updateEmployee', method:'post', data});

export const addEmployee = (data) => requset({url:'/addEmployee', method:'post', data});
export const queryByEmployee = (data) => requset({url:'/queryByEmployee', method:'post', data});
export const deleteByIds = (data) => requset({url:'/deleteByIds', method:'post', data});
